package com.voltmao.energy.Dao;

import java.io.Serializable;
import java.util.Date;

public class VoltRole implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
    private Long roleId;

    private String roleName;

    private Long roleType;

    private Integer roleStatus;

    private Long createUserid;

    private Date createDate;

    private Long modifyUserid;

    private Date modifyDate;

    private String roleDesc;

    private String moduleId;//外键，对应的功能模块，多个模块以#隔开

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public Long getRoleType() {
        return roleType;
    }

    public void setRoleType(Long roleType) {
        this.roleType = roleType;
    }

    public Integer getRoleStatus() {
        return roleStatus;
    }

    public void setRoleStatus(Integer roleStatus) {
        this.roleStatus = roleStatus;
    }

    public Long getCreateUserid() {
        return createUserid;
    }

    public void setCreateUserid(Long createUserid) {
        this.createUserid = createUserid;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Long getModifyUserid() {
        return modifyUserid;
    }

    public void setModifyUserid(Long modifyUserid) {
        this.modifyUserid = modifyUserid;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getRoleDesc() {
        return roleDesc;
    }

    public void setRoleDesc(String roleDesc) {
        this.roleDesc = roleDesc == null ? null : roleDesc.trim();
    }

    public String getModuleId() {
        return moduleId;
    }

    public void setModuleId(String moduleId) {
        this.moduleId = moduleId == null ? null : moduleId.trim();
    }

	@Override
	public String toString() {
		return "VoltRole [roleId=" + roleId + ", roleName=" + roleName
				+ ", roleType=" + roleType + ", roleStatus=" + roleStatus
				+ ", createUserid=" + createUserid + ", createDate="
				+ createDate + ", modifyUserid=" + modifyUserid
				+ ", modifyDate=" + modifyDate + ", roleDesc=" + roleDesc
				+ ", moduleId=" + moduleId + "]";
	}
    
    
}